package cn.soboys.subsys.bean.zj;

import com.baomidou.mybatisplus.annotation.*;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 用户表
 * </p>
 *
 * @Author scott
 * @since 2018-12-20
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("sysuser")
public class Sysuser implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * id
     */
    @TableId(type = IdType.ASSIGN_ID)
    private String id;

    @TableField("employeeid")
    private String employeeID;
    /**
     * 登录账号
     */
    @TableField(value = "loginCode")
    private String loginCode;

    /**
     * 真实姓名
     */
    @TableField(value = "loginName")
    private String loginName;

    @TableField(value = "validFlag")
    private Integer validFlag;

    @TableField(value = "keycloak_id")
    private String keycloakId;
}
